package com.lhf.springcloud.config;

import com.lhf.springcloud.rule.RoundRibbonRuleImpl;
import com.lhf.springcloud.rule.SelectByInstanceRule;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;

@Configuration
@RibbonClients(value = {
        @RibbonClient(name = "say-hello", configuration = SelectByInstanceRule.class),
        @RibbonClient(name = "say-hello1", configuration = RoundRibbonRuleImpl.class)
})
public class ZuulRibbonRuleConfiguration {

}
